package top.bigdata.mapper;

import org.apache.ibatis.annotations.Mapper;
import top.bigdata.model.dto.author.HotAuthor;
import top.bigdata.model.dto.author.MonthlyAuthor;

import java.util.List;

@Mapper
public interface AuthorMapper {
    List<HotAuthor> getHotAuthors(List<Integer> tids);
    List<HotAuthor> getHotAuthorsByTag(String tag);
    // 获取作者月度数据
    List<MonthlyAuthor> getDataMonthly(long mid);
}
